// 引入 webpack-merge 插件
const webpackMerge = require('webpack-merge');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;

const prodConfig = require('./build/webpack.prod');

module.exports = webpackMerge(prodConfig, {
    plugins: [
        new BundleAnalyzerPlugin(), // 打包分析插件
    ],
});
